/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sdc.event;

import sdc.net.server.comp.ComponentServer;

/**
 *
 * @author yokoe
 */
public class DepartureEvent extends Event{

	ComponentServer componentServer;

	public DepartureEvent(double eventTime, ComponentServer componentServer)
	{
		super(eventTime);
		this.componentServer = componentServer;
	}

	@Override
	public void fire() {
		componentServer.departure();
	}

}
